<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="//cdn.bootcss.com/jquery/3.1.1/jquery.js"></script>
<title>支付成功回调</title>
</head>
<body>
	<input id="returnCode" type="" value="${map.returnCode}" />
    <input id="payNo" type="" value="${map.payNo}" />
    <input id="payAmount" type="" value="${map.payAmount}" />
    <input id="notifyUrl" type="" value="${map.notifyUrl}" />
</body>
	<script type="text/javascript" charset="UTF-8">
		var returnCode = $('#returnCode').val();
		var payNo = $('#payNo').val();
		var notifyUrl = $('#notifyUrl').val();
		var payAmount = $('#payAmount').val();
		//alert(payNo);
		var data={'returnCode':returnCode,'payNo':payNo,'payAmount':payAmount};
		var data2 = JSON.stringify(data);
		//alert(aaaa);
		//alert("data="+data2);
		alert("页面回调可以");
		alert(notifyUrl);
		window.location.href = notifyUrl+"?"+data2;
	</script>
</html>